package lab1;

public class Director {
    MealBuilder builder;
    Director(MealBuilder builder){
        this.builder = builder;
    }

    public void build(Taste[] tastes){
        builder.washVegetable();
        builder.addRice();
        builder.addSoup();
        builder.taste(tastes);
        builder.cook();
        builder.pack();
    }
}
